package cn.quevo.cube.provide.define.enums;

import cn.quevo.common.enums.EnumsInterface;

/**
 * 基础数据类型
 *
 * @author July july_sky@foxmail.com
 * @version 1.0
 * @date 2018/12/11 3:27 PM
 * @Copyright 湘豫（北京）科技有限公司版权所有.All Rights Reserved.
 */
public enum DbType implements EnumsInterface {
    POSTGRES("POSTGRES","POSTGRESQL"),
    ORACLE("ORACLE","ORACLE"),
    MYSQL("MYSQL","MYSQL"),
    MSSQL("MSSQL","MSSQL");

    private String code;
    private String value;

    DbType(String code, String value) {
        this.code = code;
        this.value = value;
    }
    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getValue() {
        return this.value;
    }
}
